import { IChatState } from "./types"
function state(): IChatState {
  return {
    chatFriendLists: [],
    //当前聊天对象的id
    currentChatId: 0,
    //当前聊天内容
    currentChatRecords: {
      id: 0,
      userId: 0,
      friend: 0,
      content: [],
      status: true,
      createdAt: "",
      updatedAt: ""
    }
  }
}

export { state }
